package com.guigu.erp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.erp.dto.DesignModuleDto;
import com.guigu.erp.dto.DesignProcedureDto;
import com.guigu.erp.pojo.DesignModule;
import com.guigu.erp.pojo.ManufactureDesignProcedure;
import com.guigu.erp.utils.PageUtils;
import com.guigu.erp.vo.DesignFileVo;

import java.util.List;

/**
 * @author Lenovo
 */
public interface ManufactureDesignProcedureService extends IService<ManufactureDesignProcedure> {
    /**
     * 获取Id最大生产工序设计单的设计单的编号
     * @return
     */
    String getMaxDesignId();

    /**
     *完成物料设计单的制定
     * @param designProcedureDto
     */
    void makeDesignProcedure(DesignProcedureDto designProcedureDto);

    /**
     * 按条件分页查询生产工序设计单的未复核
     * @param vo
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageUtils<ManufactureDesignProcedure> recheckPage(DesignFileVo vo, int pageNo, int pageSize);

    /**
     * 带条件分页查询物料设计单
     */
    PageUtils<ManufactureDesignProcedure> procedureListPage(DesignFileVo vo, int pageNo, int pageSize);

    /**
     * 按条件分页查询物料设计单未设计的
     * @param vo
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageUtils<ManufactureDesignProcedure> moduleRecheckPage(DesignFileVo vo, int pageNo, int pageSize);

    /**
     * 按条件分页查询生产工序物料的未复核
     * @param vo
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageUtils<ManufactureDesignProcedure> recheckPage2(DesignFileVo vo, int pageNo, int pageSize);

    /**
     * 带条件分页查询工序物料设计单 已提交
     */
    PageUtils<ManufactureDesignProcedure> procedureListPage2(DesignFileVo vo, int pageNo, int pageSize);
}
